﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="Text.aspx.cs" Inherits="Views_Text" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
    <script type="text/javascript" src="../ViewModels/Text.js"></script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <h3>Text</h3>
    <span>The text binding causes the associated DOM element to display the text value of your parameter.</span>
    <div>
        <div class="code">
<xmp>
<span data-bind="text: 'Zylog Systems Limited'"></span>

<span data-bind="text: WingName"></span>

<span data-bind="text: new Date().toLocaleString()"></span>
</xmp>
        </div>

        <h4>Result</h4>
        Company Name: <span data-bind="text: 'Zylog Systems Limited'"></span><br />
        Wing: <span data-bind="text: WingName"></span><br />
        Current Date: <span data-bind="text: new Date().toLocaleString()"></span>
    </div>
</asp:Content>

